<?php


namespace app\lib\exception;

use app\BaseController;

use think\Exception;

class ServiceException extends Exception
{
    public function __construct($message, $code = BaseController::SERVER_EXCEPTION)
    {
        $this->message = $message;
        $this->code = $code;
    }

}